<div class="block block-{{ data.contentModel }} block-nodeList-description" id="{{ data.getId() }}">
    {% if data.name is defined AND data.displayTitle %}<h3 class="block-title">{{ data.name }}</h3>{% endif %}
    {% if nodeList %}
        <ul class="block-node-list">
            {% for item in nodeList %}
                <li>
                    <a class="title" href="{{ url(['for':'node','contentModel':item.contentModel,'id':item.getId()]) }}">{{ item.title }}</a>
                    <p class="description">{% if item.description %}{{ subString(item.description,data.subLength,true) }}{% else %}{{ subString(item.body,data.subLength,true) }}{% endif %}</p>
                </li>
            {% endfor %}
        </ul>
    {% endif %}
</div>